﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VietThinks.Model;

namespace VietThinks.Mapping.Maps
{
    public class ManufacturerMap : DomainEntityMap<Manufacturer>
    {
        public ManufacturerMap()
        {
            Schema("VThinks");
            Table("Manufacturer");            
            Map(m => m.Code).Unique().Not.Nullable();
            Map(m => m.Name).Not.Nullable();              
        }
    }
}
